package com.lxf.clouduser.bean;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @author 罗兴发
 * @data 2025/6/13 10:23
 * @description：响应模板-实体类
 */
@Data
@Accessors(chain = true)  //链式结构
@NoArgsConstructor   //无参构造函数
public class RespModel implements Serializable {
    private static final long serialVersionUID = 1L;//控制序列化版本兼容
    //响应类型
    private int type;
    //日期
    private String date;
    //用户 id
    private String uid;
    //消息ID
    private int msgId;
    //用户昵称
    private String nickname;
    //状态
    private int isOnline;
    //返回联系人和群组列表
    private List<UserBean> users;
    private List<GroupBean> groups;
    private String groupId;
    //消息内容
    private String msg;
    private int msgType;
    //群发列表
    private List<String> bridge;
}
